package ed.hbut.supermarket1.service;

import ed.hbut.supermarket1.entity.Category;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface CategoryService {
    List<Category> getAllCategory();

    void addCategory(Category category);

    void updateCategory(Category category);

    void delete(Integer id);
}
